package com.oa.bean;

public class UserInfo{

	private Integer userId;

    private String userName;

    private String pwd="123";
    
    private Integer departId;

    private Integer gender;

    private Integer roleId;

    private Integer userState=1;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public Integer getDepartId() {
        return departId;
    }

    public void setDepartId(Integer departId) {
        this.departId = departId;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getUserState() {
        return userState;
    }

    public void setUserState(Integer userState) {
        this.userState = userState;
    }

    public UserInfo(String userName, String pwd, Integer departId, Integer gender, Integer roleId, Integer userState) {
        this.userName = userName;
        this.pwd = pwd;
        this.departId = departId;
        this.gender = gender;
        this.roleId = roleId;
        this.userState = userState;
    }
    
    public UserInfo(Integer userId, String userName, String pwd, Integer departId, Integer gender, Integer roleId, Integer userState) {
        this.userId = userId;
        this.userName = userName;
        this.pwd = pwd;
        this.departId = departId;
        this.gender = gender;
        this.roleId = roleId;
        this.userState = userState;
    }
    
	public UserInfo() {
		super();
	}

	public UserInfo(String uName, String pwd) {
		userName=uName;
		this.pwd=pwd;
	}

	@Override
	public String toString() {
		return "UserInfo [userId=" + userId + ", userName=" + userName + ", pwd=" + pwd + ", departId=" + departId
				+ ", gender=" + gender + ", roleId=" + roleId + ", userState=" + userState + "]";
	}
    
}